<template>
  <Dialog :title="dialogTitle" v-model="dialogVisible">
    <el-form
      ref="formRef"
      :model="formData"
      :rules="formRules"
      label-width="100px"
      v-loading="formLoading"
    >
      <el-form-item label="父表ID" prop="parentId">
        <el-input v-model="formData.parentId" placeholder="请输入父表ID" />
      </el-form-item>
      <el-form-item label="仪器编码" prop="code">
        <el-input v-model="formData.code" placeholder="请输入仪器编码" />
      </el-form-item>
      <el-form-item label="日期" prop="p1">
        <el-input v-model="formData.p1" placeholder="请输入日期" />
      </el-form-item>
      <el-form-item label="时间" prop="p2">
        <el-input v-model="formData.p2" placeholder="请输入时间" />
      </el-form-item>
      <el-form-item label="标志" prop="p3">
        <el-input v-model="formData.p3" placeholder="请输入标志" />
      </el-form-item>
      <el-form-item label="井名" prop="p4">
        <el-input v-model="formData.p4" placeholder="请输入井名" />
      </el-form-item>
      <el-form-item label="井深" prop="p5">
        <el-input v-model="formData.p5" placeholder="请输入井深" />
      </el-form-item>
      <el-form-item label="钻井液迟到井深" prop="p6">
        <el-input v-model="formData.p6" placeholder="请输入钻井液迟到井深" />
      </el-form-item>
      <el-form-item label="大钩高度" prop="p7">
        <el-input v-model="formData.p7" placeholder="请输入大钩高度" />
      </el-form-item>
      <el-form-item label="下行时间" prop="p8">
        <el-input v-model="formData.p8" placeholder="请输入下行时间" />
      </el-form-item>
      <el-form-item label="实际迟到时间" prop="p9">
        <el-input v-model="formData.p9" placeholder="请输入实际迟到时间" />
      </el-form-item>
      <el-form-item label="上米钻时" prop="p10">
        <el-input v-model="formData.p10" placeholder="请输入上米钻时" />
      </el-form-item>
      <el-form-item label="进尺" prop="p11">
        <el-input v-model="formData.p11" placeholder="请输入进尺" />
      </el-form-item>
      <el-form-item label="大钩负荷" prop="p12">
        <el-input v-model="formData.p12" placeholder="请输入大钩负荷" />
      </el-form-item>
      <el-form-item label="钻压" prop="p13">
        <el-input v-model="formData.p13" placeholder="请输入钻压" />
      </el-form-item>
      <el-form-item label="转盘转速" prop="p14">
        <el-input v-model="formData.p14" placeholder="请输入转盘转速" />
      </el-form-item>
      <el-form-item label="扭矩" prop="p15">
        <el-input v-model="formData.p15" placeholder="请输入扭矩" />
      </el-form-item>
      <el-form-item label="大钳扭矩" prop="p16">
        <el-input v-model="formData.p16" placeholder="请输入大钳扭矩" />
      </el-form-item>
      <el-form-item label="立压" prop="p17">
        <el-input v-model="formData.p17" placeholder="请输入立压" />
      </el-form-item>
      <el-form-item label="套压" prop="p18">
        <el-input v-model="formData.p18" placeholder="请输入套压" />
      </el-form-item>
      <el-form-item label="泵冲1" prop="p19">
        <el-input v-model="formData.p19" placeholder="请输入泵冲1" />
      </el-form-item>
      <el-form-item label="泵冲2" prop="p20">
        <el-input v-model="formData.p20" placeholder="请输入泵冲2" />
      </el-form-item>
      <el-form-item label="泵冲3" prop="p21">
        <el-input v-model="formData.p21" placeholder="请输入泵冲3" />
      </el-form-item>
      <el-form-item label="入口流量" prop="p22">
        <el-input v-model="formData.p22" placeholder="请输入入口流量" />
      </el-form-item>
      <el-form-item label="出口流量" prop="p23">
        <el-input v-model="formData.p23" placeholder="请输入出口流量" />
      </el-form-item>
      <el-form-item label="入口密度" prop="p24">
        <el-input v-model="formData.p24" placeholder="请输入入口密度" />
      </el-form-item>
      <el-form-item label="出口密度" prop="p25">
        <el-input v-model="formData.p25" placeholder="请输入出口密度" />
      </el-form-item>
      <el-form-item label="入口温度" prop="p26">
        <el-input v-model="formData.p26" placeholder="请输入入口温度" />
      </el-form-item>
      <el-form-item label="出口温度" prop="p27">
        <el-input v-model="formData.p27" placeholder="请输入出口温度" />
      </el-form-item>
      <el-form-item label="入口电导" prop="p28">
        <el-input v-model="formData.p28" placeholder="请输入入口电导" />
      </el-form-item>
      <el-form-item label="出口电导" prop="p29">
        <el-input v-model="formData.p29" placeholder="请输入出口电导" />
      </el-form-item>
      <el-form-item label="池体积1" prop="p30">
        <el-input v-model="formData.p30" placeholder="请输入池体积1" />
      </el-form-item>
      <el-form-item label="池体积2" prop="p31">
        <el-input v-model="formData.p31" placeholder="请输入池体积2" />
      </el-form-item>
      <el-form-item label="池体积3" prop="p32">
        <el-input v-model="formData.p32" placeholder="请输入池体积3" />
      </el-form-item>
      <el-form-item label="池体积4" prop="p33">
        <el-input v-model="formData.p33" placeholder="请输入池体积4" />
      </el-form-item>
      <el-form-item label="池体积5" prop="p34">
        <el-input v-model="formData.p34" placeholder="请输入池体积5" />
      </el-form-item>
      <el-form-item label="池体积6" prop="p35">
        <el-input v-model="formData.p35" placeholder="请输入池体积6" />
      </el-form-item>
      <el-form-item label="提下钻罐" prop="p36">
        <el-input v-model="formData.p36" placeholder="请输入提下钻罐" />
      </el-form-item>
      <el-form-item label="总池" prop="p37">
        <el-input v-model="formData.p37" placeholder="请输入总池" />
      </el-form-item>
      <el-form-item label="池溢漏" prop="p38">
        <el-input v-model="formData.p38" placeholder="请输入池溢漏" />
      </el-form-item>
      <el-form-item label="总烃" prop="p39">
        <el-input v-model="formData.p39" placeholder="请输入总烃" />
      </el-form-item>
      <el-form-item label="C1" prop="p40">
        <el-input v-model="formData.p40" placeholder="请输入C1" />
      </el-form-item>
      <el-form-item label="C2" prop="p41">
        <el-input v-model="formData.p41" placeholder="请输入C2" />
      </el-form-item>
      <el-form-item label="C3" prop="p42">
        <el-input v-model="formData.p42" placeholder="请输入C3" />
      </el-form-item>
      <el-form-item label="iC4" prop="p43">
        <el-input v-model="formData.p43" placeholder="请输入iC4" />
      </el-form-item>
      <el-form-item label="nC4" prop="p44">
        <el-input v-model="formData.p44" placeholder="请输入nC4" />
      </el-form-item>
      <el-form-item label="iC5" prop="p45">
        <el-input v-model="formData.p45" placeholder="请输入iC5" />
      </el-form-item>
      <el-form-item label="nC5" prop="p46">
        <el-input v-model="formData.p46" placeholder="请输入nC5" />
      </el-form-item>
      <el-form-item label="H2" prop="p47">
        <el-input v-model="formData.p47" placeholder="请输入H2" />
      </el-form-item>
      <el-form-item label="CO2" prop="p48">
        <el-input v-model="formData.p48" placeholder="请输入CO2" />
      </el-form-item>
      <el-form-item label="He" prop="p49">
        <el-input v-model="formData.p49" placeholder="请输入He" />
      </el-form-item>
      <el-form-item label="Dc" prop="p50">
        <el-input v-model="formData.p50" placeholder="请输入Dc" />
      </el-form-item>
      <el-form-item label="Sigma" prop="p51">
        <el-input v-model="formData.p51" placeholder="请输入Sigma" />
      </el-form-item>
      <el-form-item label="当量密度" prop="p52">
        <el-input v-model="formData.p52" placeholder="请输入当量密度" />
      </el-form-item>
      <el-form-item label="纯钻时间" prop="p53">
        <el-input v-model="formData.p53" placeholder="请输入纯钻时间" />
      </el-form-item>
      <el-form-item label="成本" prop="p54">
        <el-input v-model="formData.p54" placeholder="请输入成本" />
      </el-form-item>
      <el-form-item label="井底上空" prop="p55">
        <el-input v-model="formData.p55" placeholder="请输入井底上空" />
      </el-form-item>
      <el-form-item label="方入" prop="p56">
        <el-input v-model="formData.p56" placeholder="请输入方入" />
      </el-form-item>
      <el-form-item label="方余" prop="p57">
        <el-input v-model="formData.p57" placeholder="请输入方余" />
      </el-form-item>
      <el-form-item label="钻柱长度" prop="p58">
        <el-input v-model="formData.p58" placeholder="请输入钻柱长度" />
      </el-form-item>
      <el-form-item label="钻柱视重" prop="p59">
        <el-input v-model="formData.p59" placeholder="请输入钻柱视重" />
      </el-form-item>
      <el-form-item label="当前钻杆" prop="p60">
        <el-input v-model="formData.p60" placeholder="请输入当前钻杆" />
      </el-form-item>
      <el-form-item label="当前立柱" prop="p61">
        <el-input v-model="formData.p61" placeholder="请输入当前立柱" />
      </el-form-item>
      <el-form-item label="绞车计数" prop="p62">
        <el-input v-model="formData.p62" placeholder="请输入绞车计数" />
      </el-form-item>
      <el-form-item label="总泵冲数" prop="p63">
        <el-input v-model="formData.p63" placeholder="请输入总泵冲数" />
      </el-form-item>
      <el-form-item label="总转数" prop="p64">
        <el-input v-model="formData.p64" placeholder="请输入总转数" />
      </el-form-item>
      <el-form-item label="红外二氧化碳" prop="p65">
        <el-input v-model="formData.p65" placeholder="请输入红外二氧化碳" />
      </el-form-item>
      <el-form-item label="硫化氢1" prop="p66">
        <el-input v-model="formData.p66" placeholder="请输入硫化氢1" />
      </el-form-item>
      <el-form-item label="硫化氢2" prop="p67">
        <el-input v-model="formData.p67" placeholder="请输入硫化氢2" />
      </el-form-item>
      <el-form-item label="硫化氢3" prop="p68">
        <el-input v-model="formData.p68" placeholder="请输入硫化氢3" />
      </el-form-item>
      <el-form-item label="硫化氢4" prop="p69">
        <el-input v-model="formData.p69" placeholder="请输入硫化氢4" />
      </el-form-item>
      <el-form-item label="硫化氢5" prop="p70">
        <el-input v-model="formData.p70" placeholder="请输入硫化氢5" />
      </el-form-item>
      <el-form-item label="海面浪高" prop="p71">
        <el-input v-model="formData.p71" placeholder="请输入海面浪高" />
      </el-form-item>
      <el-form-item label="钻井状态" prop="p72">
        <el-input v-model="formData.p72" placeholder="请输入钻井状态" />
      </el-form-item>
      <el-form-item label="池体积7" prop="p73">
        <el-input v-model="formData.p73" placeholder="请输入池体积7" />
      </el-form-item>
      <el-form-item label="池体积8" prop="p74">
        <el-input v-model="formData.p74" placeholder="请输入池体积8" />
      </el-form-item>
      <el-form-item label="池体积9" prop="p75">
        <el-input v-model="formData.p75" placeholder="请输入池体积9" />
      </el-form-item>
      <el-form-item label="池体积10" prop="p76">
        <el-input v-model="formData.p76" placeholder="请输入池体积10" />
      </el-form-item>
      <el-form-item label="池体积11" prop="p77">
        <el-input v-model="formData.p77" placeholder="请输入池体积11" />
      </el-form-item>
      <el-form-item label="池体积12" prop="p78">
        <el-input v-model="formData.p78" placeholder="请输入池体积12" />
      </el-form-item>
      <el-form-item label="垂直井深" prop="p79">
        <el-input v-model="formData.p79" placeholder="请输入垂直井深" />
      </el-form-item>
      <el-form-item label="垂直钻位" prop="p80">
        <el-input v-model="formData.p80" placeholder="请输入垂直钻位" />
      </el-form-item>
      <el-form-item label="井斜角" prop="p81">
        <el-input v-model="formData.p81" placeholder="请输入井斜角" />
      </el-form-item>
      <el-form-item label="钻位井斜角" prop="p82">
        <el-input v-model="formData.p82" placeholder="请输入钻位井斜角" />
      </el-form-item>
      <el-form-item label="方位角" prop="p83">
        <el-input v-model="formData.p83" placeholder="请输入方位角" />
      </el-form-item>
      <el-form-item label="钻位方位角" prop="p84">
        <el-input v-model="formData.p84" placeholder="请输入钻位方位角" />
      </el-form-item>
      <el-form-item label="水平位移" prop="p85">
        <el-input v-model="formData.p85" placeholder="请输入水平位移" />
      </el-form-item>
      <el-form-item label="闭合方位" prop="p86">
        <el-input v-model="formData.p86" placeholder="请输入闭合方位" />
      </el-form-item>
      <el-form-item label="钻头序号" prop="p87">
        <el-input v-model="formData.p87" placeholder="请输入钻头序号" />
      </el-form-item>
      <el-form-item label="钻头类型" prop="p88">
        <el-input v-model="formData.p88" placeholder="请输入钻头类型" />
      </el-form-item>
      <el-form-item label="钻头尺寸" prop="p89">
        <el-input v-model="formData.p89" placeholder="请输入钻头尺寸" />
      </el-form-item>
      <el-form-item label="钻头成本" prop="p90">
        <el-input v-model="formData.p90" placeholder="请输入钻头成本" />
      </el-form-item>
      <el-form-item label="钻头IADC" prop="p91">
        <el-input v-model="formData.p91" placeholder="请输入钻头IADC" />
      </el-form-item>
      <el-form-item label="水眼1" prop="p92">
        <el-input v-model="formData.p92" placeholder="请输入水眼1" />
      </el-form-item>
      <el-form-item label="水眼2" prop="p93">
        <el-input v-model="formData.p93" placeholder="请输入水眼2" />
      </el-form-item>
      <el-form-item label="水眼3" prop="p94">
        <el-input v-model="formData.p94" placeholder="请输入水眼3" />
      </el-form-item>
      <el-form-item label="钻头面积" prop="p95">
        <el-input v-model="formData.p95" placeholder="请输入钻头面积" />
      </el-form-item>
      <el-form-item label="轴承系数" prop="p96">
        <el-input v-model="formData.p96" placeholder="请输入轴承系数" />
      </el-form-item>
      <el-form-item label="钻头位置" prop="p97">
        <el-input v-model="formData.p97" placeholder="请输入钻头位置" />
      </el-form-item>
      <el-form-item label="牙磨" prop="p98">
        <el-input v-model="formData.p98" placeholder="请输入牙磨" />
      </el-form-item>
      <el-form-item label="轴磨" prop="p99">
        <el-input v-model="formData.p99" placeholder="请输入轴磨" />
      </el-form-item>
      <el-form-item label="气体入口流量" prop="p100">
        <el-input v-model="formData.p100" placeholder="请输入气体入口流量" />
      </el-form-item>
      <el-form-item label="气体出口流量" prop="p101">
        <el-input v-model="formData.p101" placeholder="请输入气体出口流量" />
      </el-form-item>
      <el-form-item label="气体入口温度" prop="p102">
        <el-input v-model="formData.p102" placeholder="请输入气体入口温度" />
      </el-form-item>
      <el-form-item label="气体出口温度" prop="p103">
        <el-input v-model="formData.p103" placeholder="请输入气体出口温度" />
      </el-form-item>
      <el-form-item label="气体入口压力" prop="p104">
        <el-input v-model="formData.p104" placeholder="请输入气体入口压力" />
      </el-form-item>
      <el-form-item label="气体出口压力" prop="p105">
        <el-input v-model="formData.p105" placeholder="请输入气体出口压力" />
      </el-form-item>
      <el-form-item label="气体出口湿度" prop="p106">
        <el-input v-model="formData.p106" placeholder="请输入气体出口湿度" />
      </el-form-item>
      <el-form-item label="环空压降" prop="p107">
        <el-input v-model="formData.p107" placeholder="请输入环空压降" />
      </el-form-item>
      <el-form-item label="钻柱压降" prop="p108">
        <el-input v-model="formData.p108" placeholder="请输入钻柱压降" />
      </el-form-item>
      <el-form-item label="钻头压降" prop="p109">
        <el-input v-model="formData.p109" placeholder="请输入钻头压降" />
      </el-form-item>
      <el-form-item label="地面压耗" prop="p110">
        <el-input v-model="formData.p110" placeholder="请输入地面压耗" />
      </el-form-item>
      <el-form-item label="水马力" prop="p111">
        <el-input v-model="formData.p111" placeholder="请输入水马力" />
      </el-form-item>
      <el-form-item label="冲击力" prop="p112">
        <el-input v-model="formData.p112" placeholder="请输入冲击力" />
      </el-form-item>
      <el-form-item label="水眼喷速" prop="p113">
        <el-input v-model="formData.p113" placeholder="请输入水眼喷速" />
      </el-form-item>
      <el-form-item label="水力效率" prop="p114">
        <el-input v-model="formData.p114" placeholder="请输入水力效率" />
      </el-form-item>
      <el-form-item label="辅助剂入口流量" prop="p115">
        <el-input v-model="formData.p115" placeholder="请输入辅助剂入口流量" />
      </el-form-item>
      <el-form-item label="气体出口一氧化碳" prop="p116">
        <el-input v-model="formData.p116" placeholder="请输入气体出口一氧化碳" />
      </el-form-item>
      <el-form-item label="气体流量" prop="p117">
        <el-input v-model="formData.p117" placeholder="请输入气体流量" />
      </el-form-item>
      <el-form-item label="气体迟到井深" prop="p118">
        <el-input v-model="formData.p118" placeholder="请输入气体迟到井深" />
      </el-form-item>
      <el-form-item label="岩屑迟到井深" prop="p119">
        <el-input v-model="formData.p119" placeholder="请输入岩屑迟到井深" />
      </el-form-item>
      <el-form-item label="语言" prop="p120">
        <el-input v-model="formData.p120" placeholder="请输入语言" />
      </el-form-item>
      <el-form-item label="参数121" prop="p121">
        <el-input v-model="formData.p121" placeholder="请输入参数121" />
      </el-form-item>
      <el-form-item label="参数122" prop="p122">
        <el-input v-model="formData.p122" placeholder="请输入参数122" />
      </el-form-item>
      <el-form-item label="参数123" prop="p123">
        <el-input v-model="formData.p123" placeholder="请输入参数123" />
      </el-form-item>
      <el-form-item label="参数124" prop="p124">
        <el-input v-model="formData.p124" placeholder="请输入参数124" />
      </el-form-item>
      <el-form-item label="备注" prop="remark">
        <el-input v-model="formData.remark" placeholder="请输入备注" />
      </el-form-item>
    </el-form>
    <template #footer>
      <el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button>
      <el-button @click="dialogVisible = false">取 消</el-button>
    </template>
  </Dialog>
</template>
<script setup lang="ts">
import { lidepthApi, lidepthVO } from '@/api/search/rtdata/lidepth'

/** 迟到间隔深度数据 表单 */
defineOptions({ name: 'lidepthForm' })

const { t } = useI18n() // 国际化
const message = useMessage() // 消息弹窗

const dialogVisible = ref(false) // 弹窗的是否展示
const dialogTitle = ref('') // 弹窗的标题
const formLoading = ref(false) // 表单的加载中：1）修改时的数据加载；2）提交的按钮禁用
const formType = ref('') // 表单的类型：create - 新增；update - 修改
const formData = ref({
  id: undefined,
  parentId: undefined,
  code: undefined,
  p1: undefined,
  p2: undefined,
  p3: undefined,
  p4: undefined,
  p5: undefined,
  p6: undefined,
  p7: undefined,
  p8: undefined,
  p9: undefined,
  p10: undefined,
  p11: undefined,
  p12: undefined,
  p13: undefined,
  p14: undefined,
  p15: undefined,
  p16: undefined,
  p17: undefined,
  p18: undefined,
  p19: undefined,
  p20: undefined,
  p21: undefined,
  p22: undefined,
  p23: undefined,
  p24: undefined,
  p25: undefined,
  p26: undefined,
  p27: undefined,
  p28: undefined,
  p29: undefined,
  p30: undefined,
  p31: undefined,
  p32: undefined,
  p33: undefined,
  p34: undefined,
  p35: undefined,
  p36: undefined,
  p37: undefined,
  p38: undefined,
  p39: undefined,
  p40: undefined,
  p41: undefined,
  p42: undefined,
  p43: undefined,
  p44: undefined,
  p45: undefined,
  p46: undefined,
  p47: undefined,
  p48: undefined,
  p49: undefined,
  p50: undefined,
  p51: undefined,
  p52: undefined,
  p53: undefined,
  p54: undefined,
  p55: undefined,
  p56: undefined,
  p57: undefined,
  p58: undefined,
  p59: undefined,
  p60: undefined,
  p61: undefined,
  p62: undefined,
  p63: undefined,
  p64: undefined,
  p65: undefined,
  p66: undefined,
  p67: undefined,
  p68: undefined,
  p69: undefined,
  p70: undefined,
  p71: undefined,
  p72: undefined,
  p73: undefined,
  p74: undefined,
  p75: undefined,
  p76: undefined,
  p77: undefined,
  p78: undefined,
  p79: undefined,
  p80: undefined,
  p81: undefined,
  p82: undefined,
  p83: undefined,
  p84: undefined,
  p85: undefined,
  p86: undefined,
  p87: undefined,
  p88: undefined,
  p89: undefined,
  p90: undefined,
  p91: undefined,
  p92: undefined,
  p93: undefined,
  p94: undefined,
  p95: undefined,
  p96: undefined,
  p97: undefined,
  p98: undefined,
  p99: undefined,
  p100: undefined,
  p101: undefined,
  p102: undefined,
  p103: undefined,
  p104: undefined,
  p105: undefined,
  p106: undefined,
  p107: undefined,
  p108: undefined,
  p109: undefined,
  p110: undefined,
  p111: undefined,
  p112: undefined,
  p113: undefined,
  p114: undefined,
  p115: undefined,
  p116: undefined,
  p117: undefined,
  p118: undefined,
  p119: undefined,
  p120: undefined,
  p121: undefined,
  p122: undefined,
  p123: undefined,
  p124: undefined,
  remark: undefined,
})
const formRules = reactive({
  parentId: [{ required: true, message: '父表ID不能为空', trigger: 'blur' }],
})
const formRef = ref() // 表单 Ref

/** 打开弹窗 */
const open = async (type: string, id?: number) => {
  dialogVisible.value = true
  dialogTitle.value = t('action.' + type)
  formType.value = type
  resetForm()
  // 修改时，设置数据
  if (id) {
    formLoading.value = true
    try {
      formData.value = await lidepthApi.getlidepth(id)
    } finally {
      formLoading.value = false
    }
  }
}
defineExpose({ open }) // 提供 open 方法，用于打开弹窗

/** 提交表单 */
const emit = defineEmits(['success']) // 定义 success 事件，用于操作成功后的回调
const submitForm = async () => {
  // 校验表单
  await formRef.value.validate()
  // 提交请求
  formLoading.value = true
  try {
    const data = formData.value as unknown as lidepthVO
    if (formType.value === 'create') {
      await lidepthApi.createlidepth(data)
      message.success(t('common.createSuccess'))
    } else {
      await lidepthApi.updatelidepth(data)
      message.success(t('common.updateSuccess'))
    }
    dialogVisible.value = false
    // 发送操作成功的事件
    emit('success')
  } finally {
    formLoading.value = false
  }
}

/** 重置表单 */
const resetForm = () => {
  formData.value = {
    id: undefined,
    parentId: undefined,
    code: undefined,
    p1: undefined,
    p2: undefined,
    p3: undefined,
    p4: undefined,
    p5: undefined,
    p6: undefined,
    p7: undefined,
    p8: undefined,
    p9: undefined,
    p10: undefined,
    p11: undefined,
    p12: undefined,
    p13: undefined,
    p14: undefined,
    p15: undefined,
    p16: undefined,
    p17: undefined,
    p18: undefined,
    p19: undefined,
    p20: undefined,
    p21: undefined,
    p22: undefined,
    p23: undefined,
    p24: undefined,
    p25: undefined,
    p26: undefined,
    p27: undefined,
    p28: undefined,
    p29: undefined,
    p30: undefined,
    p31: undefined,
    p32: undefined,
    p33: undefined,
    p34: undefined,
    p35: undefined,
    p36: undefined,
    p37: undefined,
    p38: undefined,
    p39: undefined,
    p40: undefined,
    p41: undefined,
    p42: undefined,
    p43: undefined,
    p44: undefined,
    p45: undefined,
    p46: undefined,
    p47: undefined,
    p48: undefined,
    p49: undefined,
    p50: undefined,
    p51: undefined,
    p52: undefined,
    p53: undefined,
    p54: undefined,
    p55: undefined,
    p56: undefined,
    p57: undefined,
    p58: undefined,
    p59: undefined,
    p60: undefined,
    p61: undefined,
    p62: undefined,
    p63: undefined,
    p64: undefined,
    p65: undefined,
    p66: undefined,
    p67: undefined,
    p68: undefined,
    p69: undefined,
    p70: undefined,
    p71: undefined,
    p72: undefined,
    p73: undefined,
    p74: undefined,
    p75: undefined,
    p76: undefined,
    p77: undefined,
    p78: undefined,
    p79: undefined,
    p80: undefined,
    p81: undefined,
    p82: undefined,
    p83: undefined,
    p84: undefined,
    p85: undefined,
    p86: undefined,
    p87: undefined,
    p88: undefined,
    p89: undefined,
    p90: undefined,
    p91: undefined,
    p92: undefined,
    p93: undefined,
    p94: undefined,
    p95: undefined,
    p96: undefined,
    p97: undefined,
    p98: undefined,
    p99: undefined,
    p100: undefined,
    p101: undefined,
    p102: undefined,
    p103: undefined,
    p104: undefined,
    p105: undefined,
    p106: undefined,
    p107: undefined,
    p108: undefined,
    p109: undefined,
    p110: undefined,
    p111: undefined,
    p112: undefined,
    p113: undefined,
    p114: undefined,
    p115: undefined,
    p116: undefined,
    p117: undefined,
    p118: undefined,
    p119: undefined,
    p120: undefined,
    p121: undefined,
    p122: undefined,
    p123: undefined,
    p124: undefined,
    remark: undefined,
  }
  formRef.value?.resetFields()
}
</script>
